<template>
	<view>{{JSON.stringify(rateConfig)}}</view>
</template>
<script>
	import {
		mapState,
		mapActions,
		mapMutations
	} from "vuex"
	export default {
		data() {
			return {
				rateConfig: {}
			}
		},
		computed: mapState({}),
		async onLoad() {
			this.getConfig();
		},
		methods: {
			...mapActions(['getUserInfo']),
			...mapMutations(['updateUserItem', 'updateServiceItem', 'updateTechnicianItem', 'updateOrderItem']),
			async getConfig() {
				let data = await this.$api.usernew.getUserRate();
				console.log('datadatadatadata', data)
				alert(data)
				// this.rateConfig = data;

			}
		}
	}
</script>